package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallPermission;
import com.project.mall.bean.generator.CskaoyanmallPermissionExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallPermissionMapper {
    long countByExample(CskaoyanmallPermissionExample example);

    int deleteByExample(CskaoyanmallPermissionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallPermission record);

    int insertSelective(CskaoyanmallPermission record);

    List<CskaoyanmallPermission> selectByExample(CskaoyanmallPermissionExample example);

    CskaoyanmallPermission selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallPermission record, @Param("example") CskaoyanmallPermissionExample example);

    int updateByExample(@Param("record") CskaoyanmallPermission record, @Param("example") CskaoyanmallPermissionExample example);

    int updateByPrimaryKeySelective(CskaoyanmallPermission record);

    int updateByPrimaryKey(CskaoyanmallPermission record);
}